 /*
    *  Copyright 2004 Thevert Liu  <thevert.liu@gmail.com>
    *
    *  Licensed under the Apache License, Version 2.0 (the "License");
    *  you may not use this file except in compliance with the License.
    *  You may obtain a copy of the License at
    *
    *      http://www.apache.org/licenses/LICENSE-2.0
    *
   *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   *  See the License for the specific language governing permissions and
   *  limitations under the License.
   */
#include <cstdlib>
#include <iostream>
#include <string>
#include <map>
#include <sstream>
#include <XMLReaderParser.h>
#include <LibXML2Reader.h>
#include <xstring.h>

//#include <XMLShell.h>
#include <handler.h>

#include <test_feed.h>
#include <test_extra.h>
#include <test_ns.h>
#include <test_prefix.h>
#include <test_def_prefix.h>


using namespace std;

int main(int argc, char *argv[])
{
    std::cout << "hello" << endl;

    XMLReaderParser::setXMLReaderCreator(TCreator<IXMLReader, LibXML2Reader>::Create) ;

    XMLParser::setXMLParserCreator(TCreator<IXMLParser, XMLReaderParser>::Create) ;
    

    TestFeed::excute() ;

    cout << endl << endl ;

    TestNS::excute() ;

    cout << endl << endl ;

    TestPrefix::excute() ;

    cout << endl << endl ;

    TestDefPrefix::excute() ;
    
    cout << endl << endl ;

    TestExtra::excute() ;


    int a = 1 ;
    string sss="sth. to use for the memory error check." ;
    
    cout << endl << endl ;
    system("PAUSE");
    
    return EXIT_SUCCESS;
}

